using UnityEngine;

namespace Voodoo.Meta
{
	[CreateAssetMenu(menuName = "Voodoo/Leaderboard/LeaderboardAnimationData", fileName = "LeaderboardAnimationData")]
	public class LeaderboardAnimationData : ScriptableObject
	{
		[Tooltip("The duration of the player' slot scale up animation")]
		public float playerUpScaleDuration = 0.2f;

		[Tooltip("The factor by which the player slot will be scaled up")]
		public float playerUpScaleFactor = 1.1f;

		[Tooltip("The duration of the player slot down scale")]
		public float playerDownScaleDuration = 0.4f;

		[Tooltip("The duration of the main animation")]
		public float duration = 4f;

		[Tooltip("The waiting time before closing the leaderboard after everything else")]
		public float waitingTime = 2.5f;

		public int WaitingTimeInMilliSeconds => (int)(waitingTime * 1000f);
	}
}
